/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.dao;

import com.qdu.entity.Admin;
import com.qdu.entity.User;

/**
 *
 * @author Sanshi
 */
public interface UserDao {
    /**
     * 按照用户名和密码查询信息
     * @param user
     * @return
     */
    public User getUserByUserNameAndPassWord(User user);


    /**
     * 注册 保存用户
     * @param user
     * @return
     */
    public boolean registUser(User user);
    public boolean fixInfo(User user);
    public boolean resetPwd(User user);
    public User getRestCode(User user);
}
